offset

Moves the view from its original position by the specified x and y distances.

Type

1offset?: { x: number, y: number }

Example

1<Text 
2  offset={{
3    x: 10,
4    y: -20
5  }}
6>Offset Text</Text>